export const biz = {
    map: {
        //获取当前GPS位置
        locate: function name(params) {
            ssdk("biz.map.locate", params)
        }
    },
    microApp: {
        openApp: function name(params) {
            ssdk("biz.microApp.openApp", params)
        }
    },
    navigation: {
        setbg: function name(params) {
            ssdk("biz.navigation.setbg", params)
        },
        setTitle: function name(params) {
            ssdk("biz.navigation.setTitle", params)
        },
        setLeft: function name(params) {
            ssdk("biz.navigation.setLeft", params)
        },
        close: function name(params) {
            ssdk("biz.navigation.close", params)
        },
        setRight: function name(params) {
            ssdk("biz.navigation.setRight", params)
        },
        goBack: function name(params) {
            ssdk("biz.navigation.goBack", params)
        },
        replace: function name(params) {
            ssdk("biz.navigation.replace", params)
        },
        enableTitle:function  name(params) {
            ssdk("biz.navigation.display", params)
        }
    },
    telephone: {
        call: function name(params) {
            ssdk("biz.telephone.call", params)
        },
        smg: function name(params) {
            ssdk("biz.telephone.smg", params)
        },
    },
    util: {
        datepicker: function name(params) {
            ssdk("biz.util.datepicker", params)
        },
        timepicker: function name(params) {
            ssdk("biz.util.timepicker", params)
        },
        datetimepicker: function name(params) {
            ssdk("biz.util.datetimepicker", params)
        },
        scan: function name(params) {
            ssdk("biz.util.scan", params)
        },
        downloadFile: function name(params) {
            ssdk("biz.util.downloadFile", params)
        },
        previewImage: function name(params) {
            ssdk("biz.util.previewImage", params)
        },
        openLink: function name(params) {
            ssdk("biz.util.openLink", params)
        },
    },
    native:{
        method: function name(params) {
            ssdk("biz.native.method", params)
        }
    }
}



